﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace lan_file_transfer
{
    [StructLayout(LayoutKind.Explicit)]
    internal struct Flags
    {
        [FieldOffset(0)] internal ulong L1;
        [FieldOffset(8)] internal ulong L2;

        [FieldOffset(0)] internal bool circleRCV_flag;
        [FieldOffset(1)] internal bool transFileToPieces_flag;
        [FieldOffset(2)] internal bool flag_3;
        [FieldOffset(3)] internal bool flag_4;
        [FieldOffset(4)] internal bool flag_5;
        [FieldOffset(5)] internal bool flag_6;
        [FieldOffset(6)] internal bool flag_7;
        [FieldOffset(7)] internal bool flag_8;
        [FieldOffset(8)] internal bool flag_9;
        [FieldOffset(9)] internal bool flag_10;
        [FieldOffset(10)] internal bool flag_11;
        [FieldOffset(11)] internal bool flag_12;
        [FieldOffset(12)] internal bool flag_13;
        [FieldOffset(13)] internal bool flag_14;
        [FieldOffset(14)] internal bool flag_15;
        [FieldOffset(15)] internal bool flag_16;
    }
}
